package com.firebird.app.fekpsl.mvp.sword.friend

import com.firebird.app.fekpsl.base.BasePresenter
import com.firebird.app.fekpsl.ext.ss
import com.firebird.fekpsl.mvp.model.MyFollowModel

/**
 * Created by firebird on 2018/4/21.
 */
class MyFollowPresenter : BasePresenter<MyFollowContract.Model, MyFollowContract.View>(), MyFollowContract.Presenter {

    override fun createModel(): MyFollowContract.Model? = MyFollowModel()

    override fun getMyFollowList(pageNo:Int,userUuid:String) {
        mModel?.getMyFollowList(pageNo,userUuid)?.ss(mModel, mView) {
            mView?.showMyFollowList(it.data)
        }
    }

}